package Day06;

import java.util.Arrays;

public class HomeWork1 {
    public static void main(String[] args) {
        int[] arr={10,20,30,40,42,713,141,52,25,32,75,12,75};
        int max=0;
        for (int i=0;i< arr.length;i++){
            if (arr[i]>max){
                max=arr[i];
            }
        }
        System.out.println(max);
        int[] array1= Arrays.copyOf(arr,arr.length+1);
        arr[arr.length-1]=max;
        System.out.println(Arrays.toString(arr));

        //
        say();
        say((byte)3);
        say(10,87.01);


    }
    public static void say(){
        int a=10;
        int b=20;
        a++;
        int c=a+(++b);
        System.out.println(c);
    }
    public static void say(byte a){
        int j=a;
        System.out.println(j);

    }
    public static void say(int a,double c){
        short $1=30;
        double $2=10.6;
        boolean q=c+$1>a+$2;
        System.out.println(q);
    }
    public static int getNum(){
        char bs='我';
        int g=(int)bs;
        long by=12*99999;
        int c=(int)by-bs;
        return c;
    }

}
